﻿using Nop.Web.Framework.Models;

namespace Nop.Web.Models.Catalog;

/// <summary>
/// Represents a product combination model
/// </summary>
public partial record ProductCombinationModel : BaseNopModel
{
    #region Properties

    /// <summary>
    /// Gets or sets the attributes
    /// </summary>
    public IList<ProductAttributeModel> Attributes { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether to the combination have stock
    /// </summary>
    public bool InStock { get; set; }

    #endregion

    #region Ctor

    public ProductCombinationModel()
    {
        Attributes = new List<ProductAttributeModel>();
    }

    #endregion
}